<div class="sidebar-second">
    <ul>
        <li class="sidebar-second-title">微信公众号</li>
        {if condition="$Request.param.sc == 'Wechatx' AND $Request.param.sa == 'index'"}
            <li>
                <a class="active" href="{:weapp_url('Wechatx/Wechatx/index')}">公众号首页</a>
            </li>
        {else /}
            <li>
                <a class="" href="{:weapp_url('Wechatx/Wechatx/index')}">公众号首页</a>
            </li>
        {/if}
        {if condition="$Request.param.sc == 'Wechatx' AND $Request.param.sa == 'config'"}
            <li>
                <a class="active" href="{:weapp_url('Wechatx/Wechatx/config')}">公众号设置</a>
            </li>
        {else /}
            <li>
                <a class="" href="{:weapp_url('Wechatx/Wechatx/config')}">公众号设置</a>
            </li>
        {/if}
        {if condition="$Request.param.sc == 'Wechatx' AND $Request.param.sa == 'material_list'"}
            <li>
                <a class="active" href="{:weapp_url('Wechatx/Wechatx/material_list')}">消息素材</a>
            </li>
        {else /}
            <li>
                <a href="{:weapp_url('Wechatx/Wechatx/material_list')}">消息素材</a>
            </li>
        {/if}
        {if condition="$Request.param.sc == 'Wechatx' AND $Request.param.sa == 'menu_index'"}
            <li>
                <a class="active" href="{:weapp_url('Wechatx/Wechatx/menu_index')}">菜单管理</a>
            </li>
        {else /}
            <li>
                <a href="{:weapp_url('Wechatx/Wechatx/menu_index')}">菜单管理</a>
            </li>
        {/if}
        {if condition="$Request.param.sc == 'Wechatx' AND $Request.param.sa == 'material_list'"}
            <li>
                <a class="active" href="{:weapp_url('Wechatx/Wechatx/reply_index')}">回复设置</a>
            </li>
        {else /}
            <li>
                <a href="{:weapp_url('Wechatx/Wechatx/reply_index')}">回复设置</a>
            </li>
        {/if}
        {if condition="$Request.param.sc == 'Wechatx' AND $Request.param.sa == 'material_list'"}
            <li>
                <a class="active" href="{:weapp_url('Wechatx/Wechatx/gzh_login_config')}">扫码登录</a>
            </li>
        {else /}
            <li>
                <a href="{:weapp_url('Wechatx/Wechatx/gzh_login_config')}">扫码登录</a>
            </li>
        {/if}
        
    </ul>
</div>